package com.liang;

import com.liang.annotation.EnableLog;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
//方式一 在META-INF/spring.factories
//@Import(LogAutoConfiguration.class) //方拾二
@EnableLog //方式三
public class CustomApplication {

    public static void main(String[] args) {
        SpringApplication.run(CustomApplication.class,args);
    }
}
